package com.anyou.mall.pla.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import com.anyou.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.anyou.common.core.domain.BaseEntity;

/**
 * 星级会员充值信息对象 sho_vip_top_up_info
 *
 * @author xq
 * @date 2022-04-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "星级会员充值信息")
@TableName(value = "sho_vip_top_up_info")
public class ShoVipTopUpInfo
{
    private static final long serialVersionUID = 1L;

    /** 星砖会员信息编号 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("星砖会员信息编号")
    private Long vipTopUpInfoId;

    /** 星级会员编号 */
    @ApiModelProperty("星级会员编号")
    @Excel(name = "星级会员编号")
    private Long vipTopUpId;

    /** 月数 */
    @ApiModelProperty("月数")
    @Excel(name = "月数")
    private Long monthNumber;

    /** 充值价格 */
    @ApiModelProperty("充值价格")
    @Excel(name = "充值价格")
    private BigDecimal vipAmount;

    /** 原价 */
    @ApiModelProperty("原价")
    @Excel(name = "原价")
    private BigDecimal rawAmount;

    /** 更新时间 */
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date varchaTime;



}
